//
//  MKMainTableViewCell.m
//  ManKeCartoon
//
//  Created by 邹功梁 on 15/10/16.
//  Copyright © 2015年 ManKe. All rights reserved.
//

#import "MKMainTableViewCell.h"
#import "MKBaseHeader.h"
@implementation MKMainTableViewCell
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.iconImageView = [[UIImageView alloc] initWithFrame:CGRectMake(20, 15, 30, 30)];
        //[self.iconImageView setBackgroundColor:[UIColor greenColor]];
        [self.contentView addSubview:self.iconImageView];
        self.titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(_iconImageView.frame.origin.x+_iconImageView.frame.size.width+20, _iconImageView.frame.origin.y, 100, 30)];
        //[self.titleLabel setBackgroundColor:[UIColor blueColor]];
        [self.contentView addSubview:self.titleLabel];
        self.lineView = [[UIView alloc] initWithFrame:CGRectMake(0, 59, SCREEN_WIDTH, 1)];
        [self.lineView setBackgroundColor:[UIColor colorWithRed:230/255. green:230/255. blue:230/255. alpha:1.]];
        [self.contentView addSubview:self.lineView];
        
    }
    
    
    return self;
}



- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
